package com.itfreer.cms.entity.module;

import java.io.Serializable;

import com.itfreer.form.dictionary.reflect.DictionaryField;

/**
 * 定义友情链接管理实体类
 */
public class LinkEntity implements Serializable {

	private static final long serialVersionUID = -7040201788965745098L;

	/**
	 * id值，主键，唯一值
	 * 系统应用中必需关联此值
	 */
	private String id;
	
	/**
	 * 站点名称
	 */
	@DictionaryField(dictionaryName="cms_site", toFieldName="siteName")
	private String siteId;
	
	/**
	 * 站点名称
	 */
	private String siteName;
	
	/**
	 * 网站名称
	 */
	private String linkName;
	
	/**
	 * 网站地址
	 */
	private String linkAddress;
	
	/**
	 * 图片地址
	 */
	private String pictureAddress;
	
	/**
	 * 站长Email
	 */
	private String email;
	
	/**
	 * 网站描述
	 */
	private String describe;
	
	/**
	 * 推荐
	 */
	private Boolean recommend;
	
	/**
	 * 状态
	 */
	@DictionaryField(dictionaryName="cms_valid", toFieldName="stateName")
	private String state;
	
	private String stateName;
	
	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}
	
	public String getLinkName() {
		return linkName;
	}

	public void setLinkName(String linkName) {
		this.linkName = linkName;
	}

	public String getLinkAddress() {
		return linkAddress;
	}

	public void setLinkAddress(String linkAddress) {
		this.linkAddress = linkAddress;
	}

	public String getPictureAddress() {
		return pictureAddress;
	}

	public void setPictureAddress(String pictureAddress) {
		this.pictureAddress = pictureAddress;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getDescribe() {
		return describe;
	}

	public void setDescribe(String describe) {
		this.describe = describe;
	}

	public Boolean getRecommend() {
		return recommend;
	}

	public void setRecommend(Boolean recommend) {
		this.recommend = recommend;
	}

	public String getState() {
		return state;
	}

	public void setState(String state) {
		this.state = state;
	}

	public String getSiteId() {
		return siteId;
	}

	public void setSiteId(String siteId) {
		this.siteId = siteId;
	}

	public String getSiteName() {
		return siteName;
	}

	public void setSiteName(String siteName) {
		this.siteName = siteName;
	}

	public String getStateName() {
		return stateName;
	}

	public void setStateName(String stateName) {
		this.stateName = stateName;
	}
}